<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>元素隐藏与显示</title>
</head>
<body>
<h2>您最喜欢的动画片</h2>
<ul style="visibility: hidden;">
    <li>小猪佩奇</li>
    <li>萌鸡小队</li>
    <li>奶龙</li>
</ul>
<h2>您最喜欢的电影</h2>
<ul>
    <li>哪吒</li>
    <li>姜子牙</li>
    <li>熊出没</li>
</ul>
</body>
</html>